﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace SimpComm
{

    [DataContract]
    public class DataContain<T>
    {
        [DataMember]
        public T Data { get; set; }

        public string ToJsonString()
        {
            return JsonHelper.JsonSerializer(this);
        }
    }
}
